﻿using WeDonekRpc.Helper.Validate;
namespace Shop.RemoteModel.LogisticsTemplate.Model
{
    public class LogisticsTemplateDatum
    {
        /// <summary>
        /// 摸版名
        /// </summary>
        [NullValidate("shop.logistics.template.name.null")]
        [LenValidate("shop.logistics.template.name.len", 2, 50)]
        public string TemplateName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [LenValidate("shop.logistics.template.remark.len", 0, 100)]
        public string Remark { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }
    }
}
